﻿using PureMVC.Interfaces;
using PureMVC.Patterns;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class HitCommand : SimpleCommand
{
    public override void Execute(INotification notification)
    {
        HitProxy hitProxy = Facade.RetrieveProxy(HitProxy.NAME) as HitProxy;
        if(notification.Type== "Begin")
        {
            hitProxy.GameBegin();
        }
        //if(notification.Type== "AddScore")
        //{
        //    hitProxy.ScoreAdd();
        //}
    }
}
